package com.doit.day02

class Bird(str:Int){
  def fly()={
    println(str+",飞起来了")
  }

  def eat()={
    println("吃起来")
  }
}
